package vacuum.lgadmin.punishment;

public class Punishment
{
	public String name; //player name
	public long forgive; //when to forgive
	
	public Punishment(String player, long forgive){
		this.name = player;
		this.forgive = forgive;
	}
	public boolean isForgiven(){
		return forgive > 0 && System.currentTimeMillis() > forgive;
	}
	
	@Override
	public String toString(){
		return name + "@" + forgive;
	}
}
